package com.jthinker.service;

import com.jthinker.bean.vo.QueryResult;
import com.jthinker.bean.vo.SearchFilter;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * User: Gang Chen
 * Date: 2015/3/15 21:32
 */
public interface MenuService
{
    void create(Map<String, Object> record) throws Exception;

    List<Map<String, Object>> findAll();

    QueryResult<Map<String, Object>> query(SearchFilter filter);

    void delete(Serializable id) throws Exception;
}
